package main

import (
	"novel-hub/appconfig"
	"novel-hub/cache"
	"novel-hub/models"
	"novel-hub/router"
)

func main() {
	appconfig.Init()
	models.Init()
	cache.Init()
	r := router.Router()
	// 3.监听端口，默认在8080
	// Run("里面不指定端口号默认为8080")
	r.Run(":8000")
}
